function path_out = deblur(path_in, len, theta, rate)
    img = imread(path_in);
    PSF=fspecial('motion',len,theta); %建立二维线性运动函数 PSF
    result = deconvwnr(img, PSF, rate);
    imwrite(result, './cache/deblur.png');
    path_out = './cache/deblur.png';
end